projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
125e8b5
)
unbound: fix odhcpd trigger script
author
Audric Schiltknecht
<
[email protected]
>
Sun, 12 Mar 2017 20:11:48 +0000
(16:11 -0400)
committer
Eric Luehrsen
<
[email protected]
>
Mon, 13 Mar 2017 02:39:21 +0000
(22:39 -0400)
Read UNBOUND_TXT_DOMAIN from main unbound configuration.
This prevents records to be added into Unbound in the default 'lan' zone.
Signed-off-by: Audric Schiltknecht <
[email protected]
>
net/unbound/files/odhcpd.sh
patch
|
blob
|
history
diff --git
a/net/unbound/files/odhcpd.sh
b/net/unbound/files/odhcpd.sh
index 2fc64ab4055950985a06f6ab890a8e85bb7e2bb3..22a470b4cd6f2c970c42d2d3a09a95f82690c337 100644
(file)
--- a/
net/unbound/files/odhcpd.sh
+++ b/
net/unbound/files/odhcpd.sh
@@
-33,6
+33,7
@@
odhcpd_settings() {
local cfg="$1"
config_get UNBOUND_D_DHCP_LINK "$cfg" dhcp_link none
config_get_bool UNBOUND_B_SLAAC6_MAC "$cfg" dhcp4_slaac6 0
+ config_get UNBOUND_TXT_DOMAIN "$cfg" domain lan
}
##############################################################################